import 'package:get/get_navigation/src/routes/get_route.dart';
import 'package:yysk_app/pages/main/main_binding.dart';
import 'package:yysk_app/pages/main/main_page.dart';
import 'package:yysk_app/pages/nft_pages/home_pages/collection_detail/collection_detail_binding.dart';
import 'package:yysk_app/pages/nft_pages/home_pages/collection_detail/collection_detail_page.dart';
import 'package:yysk_app/pages/nft_pages/home_pages/my_collection_detail/my_collection_detail_binding.dart';
import 'package:yysk_app/pages/nft_pages/home_pages/my_collection_detail/my_collection_detail_page.dart';
import 'package:yysk_app/pages/nft_pages/home_pages/my_collection_list/my_collection_list_binding.dart';
import 'package:yysk_app/pages/nft_pages/home_pages/my_collection_list/my_collection_list_page.dart';
import 'package:yysk_app/pages/nft_pages/pay_pages/confirm_payment/confirm_payment_binding.dart';
import 'package:yysk_app/pages/nft_pages/pay_pages/confirm_payment/confirm_payment_page.dart';
import 'package:yysk_app/pages/nft_pages/pay_pages/pay_order/pay_order_binding.dart';
import 'package:yysk_app/pages/nft_pages/pay_pages/pay_order/pay_order_page.dart';
import 'package:yysk_app/pages/nft_pages/pay_pages/result_payment/result_payment_binding.dart';
import 'package:yysk_app/pages/nft_pages/pay_pages/result_payment/result_payment_page.dart';

import '../../pages/nft_pages/pay_pages/result_payment/result_payment_zhifu_binding.dart';
import '../../pages/nft_pages/pay_pages/result_payment/result_payment_zhifu_page.dart';

//主要页面
class MainPagesRoutes {
  static final List<GetPage> pages = [
    //home主页
    GetPage(
      name: MainPage.path,
      page: () => MainPage(),
      binding: MainBinding(),
    ),
    //首发nft详情
    GetPage(
      name: CollectionDetailPage.path,
      page: () => const CollectionDetailPage(),
      binding: CollectionDetailBinding(),
    ),
    //我的藏品详情，可转赠
    GetPage(
      name: MyCollectionDetailPage.path,
      page: () => MyCollectionDetailPage(),
      binding: MyCollectionDetailBinding(),
    ),
    //我的藏品列表
    GetPage(
      name: MyCollectionListPage.path,
      page: () => const MyCollectionListPage(),
      binding: MyCollectionListBinding(),
    ),
    // 收银台支付页面
    GetPage(
      name: PayOrderPage.path,
      page: () => PayOrderPage(),
      binding: PayOrderBinding(),
    ),
    // 支付确认页面
    GetPage(
      name: ConfirmPaymentPage.path,
      page: () => const ConfirmPaymentPage(),
      binding: ConfirmPaymentBinding(),
    ),
    // 支付结果页面
    GetPage(
      name: ResultPaymentPage.path,
      page: () => const ResultPaymentPage(),
      binding: ResultPaymentBinding(),
    ),
    // 智付支付结果页面
    GetPage(
      name: ResultPaymentZhifuPage.path,
      page: () => const ResultPaymentZhifuPage(),
      binding: ResultPaymentZhifuBinding(),
    ),
  ];
}
